package com.adjaisd.scarecrow.dto;

import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;

/**
 * influxdb的指标对象
 */
@Data
@Measurement(name = "gps")
public class GpsInfo {

    @Column(name = "number", tag = true)
    private String number;  //设备号

    @Column(name = "lat")
    private String lat;     // 纬度

    @Column(name = "lon")
    private String lon;     // 经度

}
